<template>
  <div class="home">
    <Header />
    <el-container class="content">
      <Menu />
      <el-container>
        <el-main>
          <Bread/>
          <div class="cont">
            <router-view></router-view>
          </div>
        </el-main>
        <el-footer><Footer /></el-footer>
      </el-container>
    </el-container>
  </div>
</template>

<script setup>
import Header from "./common/Header.vue"
import Footer from "./common/Footer.vue"
import Menu from "./common/Menu.vue"
import Bread from './common/Breadcrumb.vue'
// import {onMounted} from 'vue'
// import request from '../service.js'
// onMounted(()=>{
//   request({
//     method:'post',
//     url:'userenter/login',
//     data:{
//       user_name:'dazhao',
//       user_password:'111111'
//     }
//   })
// })
</script>

<style lang="less">
.home {
  width: 100%;
  height: 100%;
  .content {
    position: absolute;
    width: 100%;
    top: 60px;
    bottom: 0;
    .cont {
      margin: 20px 0;
    }
  }
}
</style>
